package com.sbc.design.chain;

import org.springframework.core.Ordered;

/**
 * @description: 抽象业务责任链
 * @author: songbaicheng
 * @create: 2024-05-20 14:38
 **/
public interface AbstractChainHandler<T> extends Ordered {

    /**
     * 执行责任链逻辑
     *
     * @param requestParam 责任链执行入参
     */
    void handler(T requestParam);

    /**
     * 责任链组件标识
     */
    String mark();
}
